From 665b2890d8795e2e9236bea01ffc49f561585af4 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 11 Jul 2016 09:57:19 -0700 Subject: [PATCH] Document the RUSTC/RUSTDOC build script env vars --- src/doc/environment-variables.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/doc/environment-variables.md b/src/doc/environment-variables.md index 201c680ea..785e6b3a0 100644 --- a/src/doc/environment-variables.md +++ b/src/doc/environment-variables.md @@ -88,6 +88,9 @@ let out_dir = env::var("OUT_DIR").unwrap(); [profiles][profile]). * `DEP__` - For more information about this set of environment variables, see build script documentation about [`links`][links]. +* `RUSTC`, `RUSTDOC` - the compiler and documentation generator that Cargo has + resolved to use, passed to the build script so it might + use it as well. [links]: build-script.html#the-links-manifest-key [profile]: manifest.html#the-profile-sections -- 2.30.2